package com.jinbaoty.recyclebins.server;

import com.light.core.Utils.L;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@Table(name="items")
public class Items implements Serializable {

    @Column(name="goods_id",isId=true)
    private Long goods_id;
    @Column(name="count")
    private Double count;

    public Long getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Long goods_id) {
        this.goods_id = goods_id;
    }

    public Double getCount() {
        return count;
    }

    public void setCount(Double count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "{" +
                "goods_id:'" + goods_id + '\'' +
                ", " +
                "count:'" + count + '\'' +
                '}';
    }
}
